<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const obj={
            name:'肉丝',
            gender:'女人',
            age:80,
            husband:{
                name:'jack',
                gender:'大叔',
                age:100
            }
        }
        const {husband:{name,gender,age}}=obj
        console.log(name,gender,age);
        
    </script>
</body>
</html>